package com.svse.designPattern.structure.decorator.decorator;

import com.svse.designPattern.structure.decorator.component.MilkTea;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/2 8:45
 */
 abstract public class Taste implements MilkTea {

    /**
     * 奶茶名字 交给子类去定义
     * @return
     */
    @Override
    public String milkTeaName(){

        return  "交给子类去定义";
    }

    /**
     * 奶茶价格 交给子类去定义
     * @return
     */
    @Override
    public int milkTeaPrice(){
        return  0;
    }
}
